# coding: utf-8
from django.urls import path
from api_wxapp.album_api import *
from api_wxapp.user_api import *
from api_wxapp.help_api import *
from api_wxapp.material_api import *

urlpatterns = [
    path('wxapi/login/', UserLoginAPIView.as_view()),
    path('wxapi/albums/list/', AlbumListOwnersAPIView.as_view()),
    path('wxapi/albums/<slug:id>/', AlbumAPIView.as_view()),
    path('wxapi/albums/<slug:id>/res/', AlbumResourceAPIView.as_view()),
    path('wxapi/albums/', AlbumAPIView.as_view()),
    path('wxapi/help/list/', HelpArticleListAPIView.as_view()),
    path('wxapi/help/<slug:id>/', HelpArticleAPIView.as_view()),
    path('wxapi/music/search/', MusicSearchAPIView.as_view()),
    path('wxapi/musics/', MusicListAPIView.as_view()),
]